package com.gy.api.pc.clap.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * @ClassName CulvertDto
 * @Author YangFu
 * @Date 2024/3/1 23:28
 * @Version 1.0
 */
@Data
@ApiModel(value = "PageCulvertDto", description = "协拍涵管理查询条件")
public class PageCulvertDto  {

    @ApiModelProperty(value = "是否完成整体协调情况 1 已完成 2 未完成")
    private Integer isComplete;

    @ApiModelProperty(value = "备案编号")
    private String recordNumber;
    @ApiModelProperty(value = "影片名")
    private String movieName;
    @ApiModelProperty(value = "摄制影片名称")
    private String name;

    @ApiModelProperty(value = "提交开始时间  yyyy-MM-dd")
    private String submitStartTime;
    @ApiModelProperty(value = "提交结束时间 yyyy-MM-dd")
    private String submitEndTime;

    @ApiModelProperty(value = "查询类型 0全部 1待我处理 2我已处理")
    private Integer type;

    @ApiModelProperty(value = "审批状态 0全部 1审批中 2已完结 3已驳回 4已撤回")
    private Integer status;

    @ApiModelProperty(value = "审批人", hidden = true)
    private String approvalUserId;

    @ApiModelProperty(value = "第一出品单位")
    private String productionUnit;


    @ApiModelProperty(value = "页数")
    private Integer pageNum;

    @ApiModelProperty(value = "每页行数")
    private Integer pageSize;


    public Integer getPageNum() {
        if (pageNum == null) {
            pageNum = 1;
        }
        return pageNum;
    }

    public Integer getPageSize() {
        if (pageSize == null) {
            pageSize = 10;
        }
        return pageSize;
    }
}
